package com.kapo.egroup.entity.base.lesson;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.kapo.egroup.entity.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Title LessonTask
 * @Description TODO
 * @Author 86159
 * @Date 2023-04-01 14:13
 **/
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LessonTask extends BaseEntity {
    /*
     * 课程id
     */
    private Long lessonId;

    /*
     * 任务描述
     */
    private String description;

    /*
     * 人数上限
     */
    private Integer countLimitation;

    /*
     * 其他要求
     */
    private String other;

    /*
     * 任务名
     */
    private String taskName;

    /*
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
}
